
import pytest
from config import *
from page.mialListManagerPage.org_page import OrgPage

@pytest.fixture(scope="session")
def get_page_obj(get_driver):
    # 登录进入企业微信后台
    page_obj = OrgPage(get_driver)
    page_obj.into_index_page()
    page_obj.my_set_cookies(cookies)
    return page_obj